package us.sunrisemorning.pixivbrower.spider;

public class SpiderStatus {
    private String total = "0";
    private int sum = 0;

    /**
     * running = 0 stopping = -1
     */
    private int status = 0;

    public String getTotal() {
        return total;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    public int getSum() {
        return sum;
    }

    public synchronized void addSum() {
        this.sum++;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
